widgets.brease.TableItemImageList

Widget Description

short: Provides an image list for the Table widget
de: Stellt dem Table Widget eine Liste an Bildern zur Verfuegung
en: Provides an image list for the Table widget

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
columnWidth Can individually override columnWidth of Table if !== 0 when TableItem is a column. Appearance UInteger 0 true false false false false true CellSize 2
enable Initial option to enable widget. Behavior Boolean true true false false false false true
imageList List of image names located in the image path. (e.g. ['image1.png','image2.png']). The array position defines the index for the image. Appearance GraphicCollection no defaultValue
defined
true false true false false true
imagePrefix Path to the images directory. Appearance DirectoryPath false false false false false true
permissionOperate restricts operability to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
permissionView restricts visibility to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
rowHeight Can individually override rowHeight of Table if !== 0 when TableItem is a row. Appearance UInteger 0 true false false false false true CellSize 1
selectedImageIndex Returns the image index by clicking on a row / column. Returns -1 if no selection is made or new values arrived. Data Integer 0 true true false false false false
selectedIndex Define the image to be shown in one cell (Index of imageList). Given as array of Integers. The array size defines the number of cells. Data NumberArray1D [] true false false false false false
style reference to a style for this widget type Appearance StyleReference default true false false false false true
text Heading for table column. Appearance String true false false true false true
visible change visibility Behavior Boolean true true false false false false true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true

Styleable Properties

name type description defaultValue
backColorOdd Color

Sets the background color of the table

transparent
backColorEven Color

Sets the background color of the table

transparent
backgroundGradientEven Gradient

Background as a gradient for even table entries in column direction

backgroundGradientOdd Gradient

Background as a gradient for even table entries in column direction

headerBackColor Color

Text color for selected entries

#FCFCFC
headerGradient Gradient

Background gradient for table header

headerTextColor Color

Sets the header text color

#333333
headerFontSize PixelVal

Fontsize of the header text

14px
headerBold Boolean

If true header text is bold

false
headerItalic Boolean

If true header text is italic

false
sortingButtonColor Color

Color of the arrow that is not the sorted way

#ececec
sortingButtonActiveColor Color

Color of the arrow that is the sorted way

#5f8dd3
textColorOdd Color

Sets the text color

#333333
textColorEven Color

Sets the text color

#333333
bold Boolean

If true font style is bold

false
italic Boolean

If true font style is italic

false
fontSize PixelVal

Fontsize of the text

14px
cellAlign brease.enum.BackgroundPosition

Alignment of the text in a cell

center center
cellBorderStyle BorderStyle

Style of the cell borders

solid
cellBorderColor Color

Sets the border color of each cell. For further information, please see its type

#C8C8C8
cellBorderWidth PixelValCollection

Sets the border width of each cell. For further information, please see its type

0px 0px 1px 1px
cellPadding Padding

Padding of table cells.

0px
headerCellPadding Padding

Padding of the header cells.

0px

Events

name description arguments
Click Fired when element is clicked on.
  • origin: String

    id of widget that triggered this event

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

DisabledClick Fired when disabled element is clicked on.
  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

SelectedImageIndexChanged Triggered when selectedImageIndex is changed (e.g. by click on a row with a different image)
  • imageIndex: Integer

VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
SetColumnWidth Sets columnWidth
  • value: Size

SetEnable Sets the state of property «enable»
  • value: Boolean

SetImageList Sets imageList
  • imageList: GraphicCollection

SetRowHeight Sets rowHeight
  • value: Size

SetSelectedIndex Sets selectedIndex
  • selectedIndex: NumberArray1D

SetText Sets text
  • value: String

SetVisible Sets the state of property «visible»
  • value: Boolean